HingeConfig

data class HingeConfig(rect: Rect, contentColor: RGBA?, outlineColor: RGBA?)

Configuration for dual screen hinge

Constructors

HingeConfig
Link copied to clipboard
fun HingeConfig(rect: Rect, contentColor: RGBA? = null, outlineColor: RGBA? = null)

Properties

contentColor
Link copied to clipboard
val contentColor: RGBA? = null
The content box highlight fill color (default: a dark color).
outlineColor
Link copied to clipboard
val outlineColor: RGBA? = null
The content box highlight outline color (default: transparent).
rect
Link copied to clipboard
val rect: Rect
A rectangle represent hinge

Sources

jvm source
Link copied to clipboard